<!DOCTYPE HTML>
<?php
if(!isset($_SESSION['IsLoggedIn']) || !$_SESSION['IsLoggedIn']){
echo '<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Timemanagement</title>
<link rel="stylesheet" href="../css/layout.css">
</head>

<body>
<h3>Login</h3>
<div class=wrapper>
<form action="../secured/index.php" name="login" id="login" method="post">

<label for="username">Username:</label><input type="text" name="username" id="username" size="20" /> </br>
<label for="password">Passwort:</label><input type="password" size="20" name="password" id="password" /> </br>
<input type ="submit" id="username">
</form>
</div>
</body>
</html>';
}
else {
echo 'Sie sind bereits eingeloggt.';
}


?>
